package com.swallow.cloud;

import com.swallow.cloud.common.utils.PropertiesUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.swallow.cloud.mapper")
public class ShopApplication {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(ShopApplication.class);
        app.setDefaultProperties(PropertiesUtil.getInstance().getProperties());
        app.run(args);
    }

}
